How to print web document
专利摘要:
The present invention relates to a web document printing output method, comprising: a management step of performing a license check and user registration process of a user; A design step of designing an output format of the web document and generating a script; And an output step of outputting a web document by analyzing the print data designed in the above step. According to the web document printing output method according to the present invention, not only the user can visually design the form in a graphic user interface environment, but also can be used regardless of the type of the Internet browser. In the present invention, since the web document is printed in a single process, the time is saved as compared with the conventional query and display of a large amount of data in units of screens. In addition, since a large amount of data is inquired and output in units of screens in the related art, it is possible to improve the need to access a host for each screen, thereby reducing the network load by accessing a single host during output. In addition, the program according to the present invention is installed only on the server, the developer or the user's computer only if the browser has the advantage that can be developed or used. 公开号:KR19980087636A 申请号:KR1019980036380 申请日:1998-09-04 公开日:1998-12-05 发明作者:김소영;임성진 申请人:홍오성;주식회사 웹나라; IPC主号:
专利说明:
How to Print Web Documents The present invention relates to a web document printing output method. In recent years, the Internet has developed rapidly, and the application of the Internet is infinite. The Internet is not just for information retrieval, but also for implementing other tasks such as the Management Information System (MIS) using the Internet. The management information system is a comprehensive information processing system that has the ability to store and process comprehensive corporate management data to support decision-making related to the management of the management who is responsible for the management of the company. The printing output function is essential in implementing such a business using the Internet. However, the output function of the Internet browser is to output only the screen, so that the output in a specific form desired by the user is impossible. Therefore, a separate web document printing method is needed. Conventional web document printing techniques include commercially available programs 'CHILLY REPORT', 'CRYSTAL REPORT' and 'SQR4'. Of these, 'CHILLY REPORT' requires IIS web server and ASP, and requires user's PC to have Excel Viewer. Also, database connection is available only through ASP. CRYSTAL REPORT is provided as ACTIVE X, so Internet browsers can only be implemented in Explorer, and the capacity is about 16 megabytes. 'SQR4' has a very good output function, but it has a disadvantage of having to learn its own language for separate database connection or to implement various functions. The present invention is to solve the disadvantages of the conventional web document printing methods as described above, an object of the present invention is to provide a web document printing output method that can be used regardless of the operating system of the server. Still another object of the present invention is to provide a web document printing output method that can be used regardless of the type of Internet browser. Still another object of the present invention is to provide a web document printing output method that can be used regardless of the type of web server. It is still another object of the present invention to provide a web document printing output method that enables a user to easily create and output a document in a desired form by designing an output form visually in a graphical user interface (GUI). It is still another object of the present invention to provide a function for installing or implementing a program in which the method according to the present invention is installed only on a server and having a browser on a developer or user's computer. 1 is a detailed flowchart of a user management step of a web document printing output method according to the present invention; 2 is a detailed flowchart of a design step of a web document printing output method according to the present invention; 3 is a detailed flowchart of an output step of a web document printing output method according to the present invention; 4 is a detailed flowchart of the text output operation in the output step of FIG. In order to achieve the object as described above, the web document printing output method according to the present invention includes a management step of performing a license check and user registration process of the user; A design step of designing an output format of the web document and generating a script; And an output step of outputting a web document by analyzing the print data designed in the above step. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. 1 is a detailed flowchart of a management step of a web document printing method according to an embodiment of the present invention. As shown in Fig. 1, the management step of the method for printing a web document according to the present invention includes reading a configuration file such as an IP address, a department, a name of a user (step 100), and creating a server socket (step 101). Starts from). After the server socket is created, the server waits (step 102), checks whether the user is connected (step 103), and if the user is connected, executes a check thread for each user, and if the user is not connected, returns to the standby state. Once the individual user check thread is started (step 104), the user's IP is extracted (step 105). Check if the registered user is smaller than the number of licenses (step 106), if the registered user is smaller than the number of licenses, send a 'OK' signal (step 107), and check if the registered user is a registered user (step 108) In the case of a registered user, the check thread is terminated (step 113). If the user is not a registered user, the check thread is registered (step 112), and the check thread is terminated (step 113). On the other hand, if the registered user is not less than the number of licenses in step 106 (step: 109), and if the user is a registered user transmits an 'OK' signal (step: 110), check thread End (step 113). In addition, as a result of checking in step 109, if it is not a registered user, it transmits a 'NO' signal and terminates the check thread (step: 113). 2 is a detailed flowchart of a design step of a web document printing method according to an embodiment of the present invention. The design phase is a step of designing an output form of a web document and generating a script according to printing a web document in a form desired by a user. The design phase begins with initializing the various variables (step 201). After initializing the variable, check the picture event (step 202). Determine if the picture event is about 'line' (step: 203), call 'draw' drawing (step: 204), and if the picture event is about 'square' (step: 205), draw 'square' Call (step: 206), if the picture event is about 'string' (step: 207), then call 'draw the string' (step: 208), and if the picture event is about 'table' (step: 209) Call the drawing of the table (step 210), and call the drawing of the image (step 212) if the image event is related to the image (step 211). As described above, the drawing event is checked and the corresponding drawing is called, and then it is checked whether the editing of the drawing object is requested (step 213). As a result of the check, if the drawing object is edited, the drawing object is edited (step: 214). If the drawing object is not edited, it is checked whether or not a change in the CGI (Computer Graphics Interface) type is requested (step: 215). When the CGI type change is requested, the CGI type change procedure is performed (step 216). If the drawing object has been edited in the above steps (step: 214), if the CGI type is changed (step: 216), or if the editing of the drawing object is not requested and the CGI type is not requested, the next step (a In step 217, it is checked whether or not a script generation is requested. If no script creation is requested, proceed to the next step (b or less) .If a script creation is requested, check whether the drawing object is an End Of File (EOF) (step 218), and if the drawing object is EOF, Proceed to step (b or below). On the other hand, if the drawing object in step 218 is not EOF, it is checked whether the line, rectangle, string, table, image (step: 219, 221, 223, 225, 227), line script, rectangle script, string script Create table scripts, image scripts (steps 220, 222, 224, 226, 228). If the script has not been requested to generate the script in step 217 or if the drawing object is not EOF in step 218, it is checked whether a print request is requested (step 229), and if print is requested, print output is called (step: 230, the process returns to step 202 for checking the picture event. On the other hand, as a result of checking in step 229, if a print request is not requested, it is checked whether or not a program termination is requested (step 231), and when the program is not requested, the process returns to step 202 for checking a picture event. On the other hand, if the request for exiting the program is requested in step 231 (step 232), if the project has already been saved, the design phase is terminated. If the project has not been saved, if there is a request to save the project, (Step 233), if there is no project save request, exit the design phase, if there is a project save request, save the project (step 234), save the source (step 235) Quit. Figure 3 is a detailed flowchart of the output step of the web document printing output method according to an embodiment of the present invention. The output step of the web document printing output method according to the present invention starts from the step of checking whether the license check server transmits an 'OK' signal in the management step (step 301). If the license check server is not 'OK' as a result of the checking of the above step, the print button is deactivated (step 302) and the output step ends. Meanwhile, when the license check server is 'OK' in step 301, various variables are initialized (step 303). Then, it is checked whether the reception of Computer Graphics Interface (CGI) program data is End of File (EOF) (step 304). If the result of the check indicates that the program data reception is EOF, the process goes to step a or below. If the result of the check indicates that the program data reception is not EOF, it is checked whether the data is a layout part (step 305). If the result of the check is the layout part, printing is basically set (step 306). In the basic printing step, the printing direction, paper size, and basic font are separated. On the other hand, if the data is not the layout portion as a result of the check in step 305, it is checked whether the data is a fixed form (fixed form) portion (step: 307). If the result of the check is the fixed format portion, the fixed format is stored (step 308). In this step, you will save the fixed format needed for page skips. On the other hand, if the result of the check in step 307, if the data is not a fixed form (FixedForm) part, it is confirmed whether the data is an image part (step: 309). If the result of the check is the image part, image loading is performed (step 310). In the image loading step, the image of the URL is saved. On the other hand, if the check result in step 309, if the data is not the image portion, the script portion is stored (step: 311) and returns to the step 304. In this step, you save the normal script. If it is confirmed in step 304 that the reception of the CGI program data is EOF, it is checked whether the print button is pressed (step 312). As a result of the check, if the print button is not pressed, it is returned again. If the print button is pressed, it is checked whether the stored script reading is EOF (step: 313). If the result of the check is that the stored script read is EOF, the printing is terminated (step 314), and the process returns to the step 312. As a result of the check in step 313, it is checked whether or not the stored script read is the output range set in the print option (step 315). As a result of the check, if the output range is not set in the print option, the process returns to step 313, and if the output range is set in the print option, the token is separated (step 316). After separating the token, if the token is a line (step 317), call the line analysis function (step 318). In this step, a line is drawn by extracting the coordinate values of the line. If the token is a box (step 319), the box analysis function is called (step 320). In this step, we draw the box by extracting the coordinates of the box and the inverse type. If the token is 'HLINE' or 'VLINE' (step 321), the line 2 analytic function is called (step 322). In this step, a line is drawn by extracting the coordinate values and attribute values of the table line. If the token is a print (step 323), then call the text analysis function (step 324). In this step, the text is drawn by extracting the coordinate values, attributes, and font settings of the text. This step will be described in more detail in the following FIG. 4. If the token is an image (step 325), then call the image analysis function (step 326). This step draws an image stored in an image storage record. If the token is a color setting (step 327), then call the color analysis function (step 328). This step sets the color by changing the RGB color value in hexadecimal to decimal. If the token is in format (step 329), then the format mask function is called (step 330). This step converts common numeric or character values into a specific format. If the token is page skip (step 331), then print output is called (step 332). In this step, you print out the report drawn on the canvas. When the token separation process and the steps of calling a function according to each type of token are completed as described above, the process returns to step 313. 4 is a detailed flowchart of a text output operation in the output step of FIG. When the text analysis function is called in FIG. 3 (step 324), first, it is checked whether a format mask or page is taken (step 401). As a result of the check, when the format mask or the page is taken, the text to be output is stored (step 402). Then, obtain the width of the text to be output (step 403). The next step is to check whether the text to be output is a long sentence (step 404). If the text to be output is a long sentence, the character is output as long as the character length to be output (step 405). On the other hand, if the text to be output is not a long sentence, it is checked whether the text to be output is left-aligned (step: 406). As a result of the check, if the text to be output is left-aligned, the text is output at the corresponding coordinates (step 407). As a result of the check, if the text to be output is not left-aligned, it is checked whether it is right-aligned (step 408). As a result of the check, if the text to be output is right-aligned, the text is moved to the right by the width of the text to be output (step 409), and the text is output (step 410). After outputting the text according to the above-described steps, it is checked whether it is underlined (step 411). As a result of the check, if there is an underline, the line is output down by the text width (step 412), and then ends. As described above, according to the web document printing output method according to the present invention, the user can visually design the form in a graphic user interface environment, and can be used regardless of the type of the Internet browser. In the present invention, since the web document is printed in a single process, the time is saved as compared with the conventional query and display of a large amount of data in units of screens. In addition, since a large amount of data is inquired and output in units of screens in the related art, it is possible to improve the need to access a host for each screen, thereby reducing the network load by accessing a single host during output. In addition, the program according to the present invention is installed only on the server, the developer or the user's computer only if the browser has the advantage that can be developed or used.
权利要求:
Claims (4) [1" claim-type="Currently amended] In the web document printing output method, A user management step of performing a license check and user registration process of a user; A design step of designing an output format of the web document and generating a script; And And outputting a web document by analyzing the print data designed in the above step. [2" claim-type="Currently amended] The method of claim 1, wherein the user management step, After the user connects, the check thread for each user is executed.In the check thread, if the registered user is smaller than the license number, the new user's IP is registered. If the registered user is not smaller than the license number, the new user's IP registration is not performed. Web document printing output method characterized in that. [3" claim-type="Currently amended] The method of claim 2, wherein the design step, Check the picture event and call line, rectangle, string, table, image along the line, rectangle, string, table, and image respectively. When a script generation request is made, a web document printing output method comprising generating a line script, a rectangle script, a string script, a table script, and an image script according to a line, a rectangle, a string, a table, and an image. [4" claim-type="Currently amended] The method of claim 1, wherein the output step, If the print option is in the set output range, separating the tokens and invoking the corresponding function if the tokens are lines, boxes, vertical lines or horizontal lines, print, image, color settings, format, page skip, respectively. Web document printing output method characterized in that.
类似技术:
公开号 | 公开日 | 专利标题 CN100380377C|2008-04-09|Method and system for delivering dynamic information in a network US7791589B2|2010-09-07|Method and apparatus for displaying electronic document including handwritten data US8218190B2|2012-07-10|Document processing apparatus and method US6185588B1|2001-02-06|Method and apparatus for printing worldwide web pages in accordance with operator selected formatting US7363580B2|2008-04-22|Intermediate address table for converting position information to an address of a link structure correlated information file on a hypertext document CN100409169C|2008-08-06|Document processing apparatus and document processing method CN100476859C|2009-04-08|Method and device for extracting metadata from document areas of pixel KR101099272B1|2011-12-26|Web page rendering mechanism using external programmatic themes US6901427B2|2005-05-31|Font sharing system in which data representing a character string can be communicated between a client computer and a server wherein only layout frames are displayed in a preview area of a display screen US8326090B2|2012-12-04|Search apparatus and search method US7240294B2|2007-07-03|Method of constructing a composite image KR101334483B1|2013-11-29|Apparatus and method for digitizing a document, and computer-readable recording medium JP4324060B2|2009-09-02|Document management system and method, document management apparatus, and control method for the apparatus JP4332477B2|2009-09-16|Layout adjusting method, apparatus and program JP4154976B2|2008-09-24|Layout system, program JP4059488B2|2008-03-12|Document processing method and apparatus KR970006400B1|1997-04-28|Information processing system DE60219048T2|2007-10-31|Section extraction tool for pdf documents US7495789B2|2009-02-24|Setting binding position and additional information position in a page of a document JP3588337B2|2004-11-10|Method and system for capturing graphical printing techniques in a web browser US7268909B2|2007-09-11|Document processing method and apparatus US7428701B1|2008-09-23|Method, system and computer program for redaction of material from documents US7882432B2|2011-02-01|Information processing apparatus having font-information embedding function, information processing method therefor, and program and storage medium used therewith JP4916237B2|2012-04-11|Image display apparatus, image display method, program for causing computer to execute the method, and image display system US8689100B2|2014-04-01|Document processing apparatus, control method therefor, and computer program
同族专利:
公开号 | 公开日 WO2000014624A1|2000-03-16| AU4532499A|2000-03-27|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
法律状态:
1998-09-04|Application filed by 홍오성, 주식회사 웹나라 1998-09-04|Priority to KR1019980036380A 1998-12-05|Publication of KR19980087636A
优先权:
[返回顶部]
申请号 | 申请日 | 专利标题 KR1019980036380A|KR19980087636A|1998-09-04|1998-09-04|How to print web document| 相关专利
Sulfonates, polymers, resist compositions and patterning process
Washing machine
Washing machine
Device for fixture finishing and tension adjusting of membrane
Structure for Equipping Band in a Plane Cathode Ray Tube
Process for preparation of 7 alpha-carboxyl 9, 11-epoxy steroids and intermediates useful therein an
国家/地区
|